* {
    margin: 0;
    padding: 0;
}

ul,
li {
    list-style: none;
}

.container {
    height: 100vh;
    display: flex;
}

.left-container {
    height: 100%;
    width: 30vw;
    background: #f5f5f5;

    li {
        text-align: center;
        line-height: 50px;
        height: 50px;

        &.active {
            background: #fff;
        }
    }
}

.right-container {
    flex: 1;
    padding-left: 20px;
    padding-top: 20px;

    li {
        display: flex;
        margin-bottom: 15px;

        .goods-info {
            flex: 1;
            padding-right: 20px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .number-box {
            display: flex;
            justify-content: flex-end;
            align-items: center;

            .numer {
                margin: 0 10px;
            }

            .btn {
                width: 30px;
                height: 30px;
                text-align: center;
                line-height: 30px;
                background: #f5f5f5;
                border-radius: 50%;

                &.active {
                    background: #57a8ff;
                    color: #fff;
                }
            }
        }
    }

    .img {
        width: 96px;
        height: 96px;
    }
}

.bottom-footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 50px;
    background: #333;
    z-index: 2;

    .car-box {
        position: absolute;
        width: 60px;
        height: 60px;
        top: -30px;
        left: 30px;
        background: #ccc;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;

        &.animation {
            animation: move .6s .6s;
        }

        img {
            width: 30px;
        }

        @keyframes move {
            0% {
                transform: scale(1);
            }

            25% {
                transform: scale(.25);
            }

            50% {
                transform: scale(.8);
            }

            70% {
                transform: scale(.5);
            }

            100% {
                transform: scale(1);
            }
        }

    }
}

.add-animation {
    position: fixed;
    top: 0;
    left: 0;
    transition: .6s linear;

    .btn {
        width: 30px;
        height: 30px;
        text-align: center;
        line-height: 30px;
        background: #f5f5f5;
        border-radius: 50%;
        background: #57a8ff;
        color: #fff;
        transition: .6s cubic-bezier(0.5, -0.5, 1, 1);
    }
}